﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    /// <summary>
    /// Represents a single state in a language search space
    /// </summary>
    public interface ISearchStateArc
    {
        /// <summary>
        /// Gets a successor to this search state
        /// </summary>
        /// <returns></returns>
        ISearchState getState();
        /// <summary>
        /// Gets the composite probability of entering this state
        /// </summary>
        /// <returns></returns>
        float getProbability();
        /// <summary>
        /// Gets the language probability of entering this state
        /// </summary>
        /// <returns></returns>
        float getLanguageProbability();
        /// <summary>
        /// Gets the insertion probability of entering this state
        /// </summary>
        /// <returns></returns>
        float getInsertionProbability();

    }
}
